# todo: do this with ant

file = Program

default: 
	javac -classpath "robocode/libs/robocode.jar:src" -d bin src/gpar/*.java
	echo "#!/bin/sh\njava -classpath robocode/libs/robocode.jar:bin gpar.$(file) $(ARGS)" > launcher
	chmod +x launcher 
run: 
	make
	./launcher
clean:
	rm -f bin/*
	rm launcher
